Ext.onReady(function(){
	Ext.QuickTips.init();
	Ext.Loader.setConfig({
		enabled: true
	});
	Ext.application({
		name: 'MyApp',
		appFolder: 'app',
		launch: function(){
			Ext.create('Ext.container.Viewport',{
				layout: 'auto',
				items: [
					{	xtype:'login',
						title: 'Users login',
						html: 'List to users',
                        width: 600,
                        height: 400,
                        frame: true,
                        id: 'mylogin2',
                        bodyPadding: 5,
                        defaultType: 'textfield',
                        items:[{
                            fieldLabel: '用户名',
                            name: 'username',
                            allowBlank: false
                        },{
                            fieldLabel: '密码',
                            name: 'password',
                            allowBlank: false
                        }
                        ]
				    }
				],
			})
		},
	//controllers:['Users']
	});
});